Wyo Java Ch20Proj4

Write a class called Account that contains a user id (an integer that is guaranteed for different Account objects), first name and last name instance fields and relevant constructors, accessors, and modifiers. Then, write a class named AccountLookup that provides the following menu

1. Create account
2. Lookup first and last name by username
3. Lookup username by first and last name
4. Exit

Use HashSets<E> and HashMaps<K, V> where possible and where appropriate. When the user creates an account, the username that is provided will be stored in a set of keys for a HashMap. The other account setup information will be used to populate and instantiate an Account object. This Account object is the value that the username key will map to in a HashMap. Do not allow two accounts to be created with the same username. You can allow two accounts to have the same first and last name combination though. Using menu option #2, the user will then be able to look up someone's first and last name by entering a username. Using menu option #3, the user will be able to look up someone's username by providing a first and last name. There could be multiple usernames returned by the same first and last combination.

Do not use ArrayList & standard arrays in this assignment unless you have permission of constructor.

Your program must follow the class Coding Standards. Save all of the files associated with this assignment to the appropriate network folder.

Submit the printed code stapled to a screen capture of the runtime output.